package com.ios.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Seat {
    private Integer id;          // 座位主键
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime; // 创建时间
    private Long creatorId;      // 创建人ID
    private String number;      // 编号
    @JsonProperty("SRow")
    private Integer SRow;       // 行
    @JsonProperty("SCol")
    private Integer SCol;       // 列
    private Boolean isMaintain; // 是否维修
    private Integer roomId;     // 自习室ID
}